<!DOCTYPE html>
<html lang="zh-CN">
<head>
 <meta charset="UTF-8">
 <title>逃</title>
</head>
<body >
<div id="dplayer" style="width: 450px;max-width: 100%">
</div>
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.1.5/dist/hls.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dplayer@1.26.0/dist/DPlayer.min.js"></script>
<script>
const dp = new DPlayer({
    container: document.getElementById('dplayer'),
     
    video: {
        url: 'https://file.leke.cn/repository/2022-04-16/MB/RDSZ/VTw2JjlooGSpnxSP2ZZbNACBc8HpCe.m3u8',
        type: 'hls',
        
    },
    pluginOptions: {
        hls: {
            // hls config
        },
    },
});
console.log(dp.plugins.hls); // Hls 实例
</script>
</body>
</html>